package com.ck.notify;

public class Consumer implements Runnable {

    Person p = null;

    public Consumer(Person p) {
        this.p = p;
    }

    @Override
    public void run() {
        for (int i = 0; i < 50; i++) {
            p.pop();
        }
    }
}
